import java.util.Scanner;
public class term {
 public static void main(String[] args) {
	 System.out.print("pls input the degree:");
	 Scanner in = new Scanner (System.in);
	 double degree = in.nextDouble();
	 term change = new term();
	 double fahrenheit = change.getFahrenheit(degree);
	 System.out.println("the fahrenheit is:"+fahrenheit);
 }
 public double getFahrenheit(double degree){
	 double fahrenheit = 1.8 * degree + 32;
	 return fahrenheit;
 }
}
